import request from '@/utils/request.js'

// 资讯列表
export function newsList(query) {
    return request({
        url: '/pc/news/list',
        method: 'post',
        data: query
    })
}

// 资讯类型
export function newsCategory(query) {
    return request({
        url: '/pc/news/category',
        method: 'get',
        data: query
    })
}

// 资讯详情
export function newsDetail(query) {
    return request({
        url: '/pc/news/detail',
        method: 'post',
        data: query
    })
}
